[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
##############################################################################
###+----------------+#########################################################
#+-| SET DELIMITERS |----------------------------------------+################
#| +----------------+ The SET DELIMITERS command establishes |################
#| the delimiters for the GET system |################
#+-----------------------------------------------------------+################
##############################################################################
##############################################################################
#+--| Syntax |----------------------------------------+#######################
#| SET DELIMITERS <ON || OFF || TO [<C-exp>]> |#######################
#+----------------------------------------------------+#######################
##############################################################################
##############################################################################
##########+---| Description |---------------------------------------+#########
##########| There are two delimiter characters, one each for the |#########
##########| left and right of a READ/GET input field. |#########
##########| ------------------------------------------------------- |#########
##########| ON |#########
##########| |#########
##########| ON specifies the READ/GET input field will be prepended |#########
##########| and appended by the current delimiter characters. |#########
##########| ------------------------------------------------------- |#########
##########| OFF |#########
##########| |#########
##########| OFF suppresses display of the left and right delimiter |#########
##########| characters. |#########
##########| ------------------------------------------------------- |#########
##########| TO [<C-exp>] |#########
##########| |#########
##########| If <C-exp> is one character, then <C-exp> initalizes |#########
##########| the left and right delimiters. If <C-exp> is two or |#########
##########| more characters, the left delimiter is initialized from |#########
##########| the first character and the right delimiter is |#########
##########| initialized from the second character. |#########
##########| ------------------------------------------------------- |#########
##########| If <C-exp> is not specified, both delimiters are |#########
##########| initialized to ":". |#########
##########| ------------------------------------------------------- |#########
##########| Delimiters are displayed with standard colors. |#########
##########+---------------------------------------------------------+#########
##############################################################################
##############################################################################
#########+--| Example 1 |-------------------------------------------+#########
#########| |#########
#########| SET DELIMITERS ON && Default is OFF. |#########
#########| SET DELIMITERS TO "{}" && Frame input with |#########
#########| && { and }. |#########
#########| |#########
#########| @ 3,3 GET abc->name |#########
#########| SET DELIMITERS TO ":" && Frame next input |#########
#########| && with :. |#########
#########| |#########
#########| @ 4,3 GET abc->address |#########
#########| SET DELIMITERS TO "\/ --" && Frame next input |#########
#########| && with \ and /. |#########
#########| |#########
#########| @ 5,3 GET abc->city |#########
#########| SET DELIMITERS OFF |#########
#########| SET DELIMITERS TO os() && Any character |#########
#########| && expression! |#########
#########| |#########
#########| . |#########
#########| . |#########
#########| . |#########
#########| SET DELIMITERS TO && Set delimiters |#########
#########| && back to original. |#########
#########+----------------------------------------------------------+#########
##############################################################################
See Also:
GET
SET COLOR TO
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson